<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!--jstl导入  -->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>评论</title> 
<link rel="stylesheet" href="comment/css/semantic.css" type="text/css" />
<link rel="stylesheet" href="comment/css/zyComment.css" type="text/css" />

<link rel="stylesheet" type="text/css" href="announcement/css/style.css" />
<style type="text/css" media="print, screen">  
label {
	font-weight: bold;   
}
 
a {
	font-family: Microsoft YaHei;
}

#articleComment {
	width: 600px;
	margin:0 auto;
}
</style> 

</head>
<body>
	<div id="articleComment" >
	<div style="background-color:aliceblue; height:150px;">
	<li class="three">
	<a href="#">
		<div class="left">
<<<<<<< HEAD
		<h4><%=request.getParameter("date")%></h4>
		</div>
		<div class="right">
=======
		<h5>发布时间</h5>
		<h4><%=request.getParameter("date")%></h4>
		</div>
		<div class="right">
		<h5>发布内容</h5>
>>>>>>> branch 'master' of https://gitee.com/wzx823570766/BeiJing_Project_Level_Two.git
		<h4><%=request.getParameter("tinfo")%></h4>
		</div>
		</a> 
		</li>
	</div>
	
	</div>
	
	<script type="text/javascript" src="comment/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="comment/js/zyComment.js"></script>
	<script type="text/javascript">  
	
	
		var agoComment = [    
		                  {"id":1,"userName":"游客1","time":"2014-04-04","sortID":0,"content":"第一条评论"},
		                  ];
		$("#articleComment").zyComment({
			"width":"355",  
			"height":"10",  
			"agoComment":agoComment,
			"callback":function(comment){
				console.info("填写内容返回值：");
				console.info(comment);
				// 添加新的评论
				$("#articleComment").zyComment("setCommentAfter",{"id":123, "name":"haha", "content":"哈哈", "time":"2014-04-14"});
			}
		});
	
	</script>
		
</body>
</html>